﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DcsGauges.Shared.DataStructures;

namespace DcsGauges.Gui.Gauges.Interfaces
{
    internal class TriggerValueEventArgs : EventArgs
    {
        public DcsProperty      DcsProperty         { get; private set; }
        public float            OldValue            { get; private set; }
        public float            NewValue            { get; private set; }

        public TriggerValueEventArgs(DcsProperty property, float oldValue, float newValue)
        {
            this.DcsProperty        = property;
            this.OldValue           = oldValue;
            this.NewValue           = newValue;
        }
    }

    internal interface ITriggerGauge : IValueGauge
    {
        event EventHandler<TriggerValueEventArgs>           TriggerEvent;
    }

    internal interface IMultiTriggerGauge : IMultiValueGauge
    {
        event EventHandler<TriggerValueEventArgs>           TriggerEvent;
    }
}
